export interface CategoryModel {
  id: number,
  name: string
}

export type CategoryListModel = CategoryModel[]

export type Numberable = undefined | number

export interface CategoryIdModel {
  category1Id: Numberable,
  category2Id: Numberable,
  category3Id: Numberable,
}

// 添加对state中的数据的TS类型约束
export interface CategoryStateModel extends CategoryIdModel{
  
  category1List: CategoryListModel,
  category2List: CategoryListModel,
  category3List: CategoryListModel
}

